package org.example.controller.rep;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author tql
 * @Desc 优惠劵订单详情 响应实体
 * @Date 2024/2/27 16:12
 * @Version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="银行分页实体",description = "银行分页实体类描述")
public class BankRatePageRep {

    @ApiModelProperty(value = "银行名称")
    private String name;


    @ApiModelProperty("图标")
    private String bankIcon;


    @ApiModelProperty
    private List<BankRateRep> bankRateReps;


    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class  BankRateRep{

        @ApiModelProperty("存库日期")
        private String saveDate;

        @ApiModelProperty("存款利率")
        private BigDecimal saveRate;

        @ApiModelProperty("存款条件")
        private String saveCondition;

        @ApiModelProperty("存款备注")
        private String saveRemark;

        @ApiModelProperty("排序")
        private Integer sequence;

    }
}
